﻿<div class='formulaire_spip ecatalogue_group_prices'>
    [<p class="reponse_formulaire reponse_formulaire_ok">(#ENV**{message_ok})</p>]
    [<p class="reponse_formulaire reponse_formulaire_erreur">(#ENV*{message_erreur})</p>]

    <form method='post' action='#ENV{action}' id="ecatalogue_prices_form" class="list_form">
	<div>
            #ACTION_FORMULAIRE{#ENV{action}}
			<input type='hidden' name='id_article' value="#ENV{id_article}">
			
			
		
		<table align="center" style="width: 100%;">
            <tbody class="elements_container">
            <tr >
                <th>ID</th>
                <th style="text-align:center;">Вкл</th>                
                <th>Название</th>
                <th></th>
            </tr>
		<BOUCLE_prices(ecatalogue_prices_group) {tout}>
            <tr>
                <td>#ID_GROUP</td> 
				<td><input name = "is_active[#ID_GROUP]" type="checkbox" [(#IS_ACTIVE|>{0}|oui) checked="checked"] /></td>
                <td><input name="price[#ID_GROUP]" type="text" value="#TITRE"/></td>	
                <td><a href="javascript:;" data-element-id="#ID_GROUP" class="delete_link"><:ecatalogue:form_delete_element:></a></td>            
		    </tr>
		</BOUCLE_prices>
                <tr><td colspan="2"><center><strong class="caption"><:ecatalogue:form_no_elements:></strong></center></td></tr>
                <//B_prices>
            </tbody>
            </table>
			
			<div style="font-weight: bold; width: 100%; text-align: center;">
                <:ecatalogue:form_save_to_change:>
            </div>
			
			<p class='boutons'>
                <input type='button'  onclick="javascript:window.location.reload();" name='cancel_button' value='<:ecatalogue:cancel:>' />
                <input type='button' class="add_field_button" name='add_field_button' value='<:ecatalogue:form_add_element:>' />
				<input type='submit' name='save_submit' value='<:bouton_enregistrer:>' />
			</p>
		
    </div>
</form>
</div>